$(function(){
    $("#loginTel,#loginPsw").blur(function(){
        userOperation.loginCheck("#loginTel","#loginPsw","#loginErr")
    })
    $("#loginBtn").click(function(){
        if(userOperation.couldLogin){
            //登陆
        }
    })

    $("#registerTel,#registerPsw,#registerTelCode").blur(function(){
        userOperation.registerCheck("#registerTel","#registerPsw","#registerTelCode","#registerErr")
    })
    $("#loginBtn").click(function(){
        if(userOperation.couldLogin){
            //登陆
        }
    })

    $("#telCode").click(function(){
         userOperation.countDown("#registerTel","#telCode","telCodeNum")
    })


    $("#registerBtn").click(function(){
        if(userOperation.couldRegister){
            //注册
        }
    })
})